<template>
  <div>
    <el-button type="primary" @click="linkBaidu">{{ buttond }}</el-button>
  </div>
</template>
<script>
export default {
  data() {
    return {
      buttond: "确认按钮"
    };
  },
  methods: {
    linkBaidu() {
      this.$alert("按钮成功");
    }
  }
};
</script>
